@import "public.less";
@import "button.less";

 
.detail{
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 5%;
    margin-left: 5%;
   .title{
       padding:25px 0;
        overflow: hidden;
        div{
            line-height: 1;
            .fontSize(56px);
            color: @cfont;
        }  
    } 
    .afterborder{
        position: relative;
        &:after{
            .afterHeight(100%,1px);
            bottom: 0px;
            left: 0px;
            background: #ebebeb; 
        }
    }
    .mui-table-view:before{
        display: none;
    }
    .mui-table-view:after{
        background: #ebebeb; 
    }
    .mui-table-view {
        .mui-table-view-cell{
            padding: 15px 15px 15px 10px;
            &.res{
                a{
                    padding: 0;
                    margin:0px;
                    margin-bottom: 19px;
                    margin-right: -15px;
                }
            }
            .comes{
                padding-right:20px;
                .fontSize(30px);
                span{
                    color: @red;
                }
            }
        }
        a,div{
            color: @cfont;
            .fontSize(34px);
        }
        a.mui-active{
            
            background: transparent;
        }
    }
    .mui-navigate-right:after{
        right: 0px;
    }
    .comment{ 
        .text{
            color: @cfont;
            text-align: justify;
            .fontSize(30px);
            margin-top: 10px;
            padding-bottom: 10px;
        }
        .mui-row{
            padding-bottom: 15px;
            .mui-col-xs-3.mui-col-sm-3{
                padding-right:10px;
                position: relative;
                margin-bottom:10px; 
                &:last-child{
                }
                div{
                     width: 90%; 
                    margin:0 auto;
                    height:0;
                    padding-bottom: 90%;
                    position: relative;
                    overflow: hidden;
                    border:1px solid transparent;
                    border-radius: 5px;
                    img{
                        position: absolute;
                        left: 0px;
                        top: 0px;
                        width: 100%;
                    }
                }
            }
        }
    }
    .merchant{
        padding:15px 0;

        img{
            width: 44px;
            border-radius: 50%;
            float: left;
        }
        .name{
            min-height: 44px;
            padding-left: 56px;
            padding-top: 0px;
            .fontSize(34px);
            color: @cfont;
            line-height: 44px;
        }
        .btn{
            margin-top: 38px/2;
            div{
                width: 50%;
                a{
                    display: block;
                    width: 90%;
                    height: 38px;
                    text-align: center;
                    line-height: 38px;
                    .fontSize(34px);
                    color: #999;
                    border:1px solid #999;
                    border-radius: 5px;
                }
                &:last-child a{
                    float: right;
                }
            }
        }
    }
   .basic{
       .ts{
            .fontSize(34px);
            font-weight: bold;
            color: @cfont;
            margin-bottom: 10px;
       }
       .labels{
           span{
               .fontSize(34px);
            color: @cfont;
            margin-right: 10px;;
           }
       }
       p{
           .fontSize(34px);
            color: @cfont;
            margin-bottom: 5px;
            &.labesa {
                span{
                    display: inline-block;
                    margin-right: 10px;
                    margin-bottom: 10px;
                }
            }
       }
   }
} 
.fixed-cart{
    position: fixed;
    width: 100%;
    height: 60px;
    background: #FFF;
    left: 0px;
    bottom: 0px;
    border-top: 1px solid #ebebeb;
    z-index: 999;
    
    .count-money{
        padding-left: 5%;
        .vmiddle();
        span{
            .fontSize(38px);
            color: @red;
        }
    }
    .mui-pull-right{
        padding-right: 5%;
         .vmiddle();
    }
    .join-cart{
        .fontSize(36px);
        padding-left: 28px;
        padding-right: 28px;
    }
}
.mui-bar.mui-bar-transparent.short{
//  width: 20%;
    background-color: rgba(255,255,255,0);
    .mui-title{
        opacity: 0;
    }
}
.mui-bar.mui-bar-transparent.short.active{
    box-shadow: 1px 1px 4px rgba(0,0,0, 0.2);
}
.fun-btn{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 111;
    &#share{
        right: 20%;
        top:10px;
        .wh2x(34px,40px);
        background: url(../icon/share.png) no-repeat;
        background-size: cover;
    }
    &#collect{
        right: 8%;
        top: 12px;
        .wh2x(42px,40px);
        background: url(../icon/collect.png) no-repeat;
        background-size: cover;
        &.active{
            background: url(../icon/collect_active.png) no-repeat;
            background-size: cover;
        }
    }
}
//#share{
//  .wh2x(34px,40px);
//  background: url(../icon/share.png) no-repeat;
//  background-size: cover;
//}
//#collect{
//  .wh2x(42px,40px);
//}

.body-title{
    .fontSize(34px);
    color: @cfont;
    margin:7px 0;
}
.body-content{
    .fontSize(30px);
    color: @cfont;
    text-align: justify; 
    img{
        max-width: 100%;
        height: auto !important;
    }
}
.body-list{
    p{
        margin:0;
        padding: 0;
        .fontSize(30px);
        color: @cfont;
    }
}
.detail-body{
    display: block;
    opacity: 1;
    transition: all 0.2s ease-in; 
    border-bottom:1px solid #EBEBEB;  
    table{
        width: 100% !important;
    }
    img{
        margin:10px 0;
    }
    &.run{
        opacity: 1;
    }
}

.mui-pull-bottom-tips {
    text-align: center;
    background-color: #efeff4;
    font-size: 15px;
    line-height: 40px;
    color: #777;
    .logn{
        display: inline-block;
        .wh2x(24px,13px);
        background: url(../icon/top-triangle.png) no-repeat;
        background-size: cover;
    }
}

#select-suit{
    position: fixed;
    bottom: -20%;
    width: 100%;
    height: 60%;
    background: @white;
    left: 0;
    z-index: 1000;
    display: none;
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
     &.run{
//       display: block;
         opacity: 1;
         bottom: 0px;
     }
    .close{
        width: 24px;
        height: 24px;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 10;
        img{
            margin:0 auto;
            .wh2x(24px,24px);
            .vmiddle();
        }
    }
    .suit-head{
        padding:0 10px;
        position: relative;
        border-bottom: 1px solid #ebebeb;
        .product{
            width: 100px;
            height: 100px;
            border-radius: 5px;
            float: left;    
            position: relative;
            top: -25px; 
            margin-right: 10px;
        }
        .suit-title{
            padding:25px 0 20px 0;
            .fontSize(31.84px);
            span{
                color: @red;
            }
        }
    }
    .suit-body{
        .suit-bodu-tab{
            padding:10px;
            p{
                .fontSize(24px);
                color: #666;
            }
            .mui-col-xs-4.mui-col-sm-4{
                margin-bottom: 10px;
                span{
                    display: block;
                    text-align: center;
                    padding: 4px 0;
                    border:1px solid #999;
                    border-radius: 5px;
                    color: #999;
                    .fontSize(33.4px);
                    margin-right: 10px;
                    &.active{
                        border-color: @red;
                        color: @red;
                    }
                    
                }
            }
            .mui-col-xs-12.mui-col-sm-12{
                margin-bottom: 10px;
                span{
                    display: inline-block;
                    padding: 4px 20px;
                    border:1px solid #999;
                    border-radius: 5px;
                    color: #999;
                    .fontSize(33.4px);
                    &.active{
                        border-color: @red;
                        color: @red;
                    }
                }
            }
            
        }
        
    }
    .join-btn{
        height: 50px;
        background: @red;
        text-align: center;
        line-height: 50px;
        color: @white;
        .fontSize(48px);
        
    }
}
body.run{
    background: #ccc;
    #onescroll{
         -webkit-transform: scale(0.8);
                transform: scale(0.8);
    }
}
#onescroll{
    -webkit-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
//  &.run{
//      -webkit-transform: scale(0.8);
//              transform: scale(0.8);
//  }
}


.mui-preview-image.mui-fullscreen {
    position: fixed;
    z-index: 20;
    background-color: #000;
    z-index: 1001;
}
.mui-preview-header,
.mui-preview-footer {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 10;
}
.mui-preview-header {
    height: 44px;
    top: 0;
}
.mui-preview-footer {
    height: 50px;
    bottom: 0px;
}
.mui-preview-header .mui-preview-indicator {
    display: block;
    line-height: 25px;
    color: #fff;
    text-align: center;
    margin: 15px auto 4;
    width: 70px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    font-size: 16px;
}
.mui-preview-image {
    display: none;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.mui-preview-image.mui-preview-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}
.mui-preview-image.mui-preview-out {
    background: none;
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}
.mui-preview-image.mui-preview-out .mui-preview-header,
.mui-preview-image.mui-preview-out .mui-preview-footer {
    display: none;
}
.mui-zoom-scroller {
    position: absolute;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    -webkit-backface-visibility: hidden;
}
.mui-zoom {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.mui-slider .mui-slider-group .mui-slider-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.mui-android-4-1 .mui-slider .mui-slider-group .mui-slider-item img {
    width: 100%;
}
.mui-android-4-1 .mui-slider.mui-preview-image .mui-slider-group .mui-slider-item {
    display: inline-table;
}
.mui-android-4-1 .mui-slider.mui-preview-image .mui-zoom-scroller img {
    display: table-cell;
    vertical-align: middle;
}
.mui-preview-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}
.mui-preview-loading.mui-active {
    display: block;
}
.mui-preview-loading .mui-spinner-white {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    height: 50px;
    width: 50px;
}
.mui-preview-image img.mui-transitioning {
    -webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


.cainilike{
    margin-top: 20px;
    .ts{
        margin-bottom: 10px;
        padding-left: 13px;
    }
    .itemslink{
        padding:0 13px;   
        margin-bottom: 40px/2;
        img{
            width: 100%;
        }
        .name{
            .fontSize(28px);
            color: @cfont;
            padding: 0;
            margin: 0;
            line-height: 1;
            margin:3px 0 4px 0;
            .ell();
        }
        .price{
            color: @red;
            padding: 0;
            margin: 0;
            .fontSize(28px);
            line-height: 1;
        }
    }
}

.pickbottom{
    margin-top: 20px;
    border-top: 10px solid #EBEBEB;
    text-align: center;
    line-height: 40px;
}


.detail_case{
     border-bottom: 1px solid #c4c4c4;
    .ts{
        .fontSize(34px);
        font-weight: bold;
        color: @cfont;
        margin-bottom: 10px;
        padding-left: 25px;
        padding-top: 10px;
   }
}


.notics-title{
    padding: 10px 0;
    text-align: center;
}
.notics{
    overflow: hidden;
    height: 0;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
}
.notics.run{
    height: auto;
}

.notics .mui-table-view{
    
    a{
        margin-bottom: 0px;
        margin-right: -15px;
        margin-top: 0px;
        padding: 0;
        padding-left: 15px;
        font-size: 14px;
    }
    div{
        font-size: 12px;
        color: #666;
        margin:5px 0;
        line-height: 1.5;
    }
    
}
